package com.dhu.dao;

import com.dhu.pojo.Reply;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ReplyMapper {
    // 根据帖子id获取回复列表
    List<Reply> selectByPostId (int id);
    // 增加回复
    int addReply (Reply reply);
}
